package com.sugon.modules.sys.consts;

/**
 * 通知类别
 */
public enum NoticeType {

    DEVICE_MAINTENANCE("deviceMaintenanceQueue", "设备维护"),
    DEVICE_REPAIR("deviceRepairRoutingKey", "设备维修"),
    MOLD_MAINTENANCE("moldMaintenanceQueue", "模具维护"),
    MOLD_REPAIR("moldRepairRoutingKey", "模具维修");

    /**
     * 描述
     */

    private String desc;
    /**
     * 路由KEY
     */
    private String routingKey;

    NoticeType(String routingKey, String desc) {
        this.routingKey = routingKey;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public String getRoutingKey() {
        return routingKey;
    }
}
